package com.newcapec.shuttle.manager.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.util.Date;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author fujun
 * @since 2020-11-15
 */
@TableName("elc_blacklist")
public class ElcBlacklist extends Model<ElcBlacklist> {

    private static final long serialVersionUID = 1L;

    /**
     * 黑名单id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 黑名单详情
     */
    private String detail;
    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;
    /**
     * 更新时间
     */
    @TableField("update_time")
    private Date updateTime;
    /**
     * 客户id
     */
    private Integer dpid;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getDpid() {
        return dpid;
    }

    public void setDpid(Integer dpid) {
        this.dpid = dpid;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ElcBlacklist{" +
        ", id=" + id +
        ", detail=" + detail +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        ", dpid=" + dpid +
        "}";
    }
}
